package com.cqhilink.iot.jobstandardmanagement.facade.service.device;

import com.cqhilink.iot.jobstandardmanagement.facade.model.DeviceRecord;

import java.util.List;

/**
 * 设备启停记录表
 * @author zjh
 * @since 20170503
 */
public interface JsmDeviceRecordService {
    /**
     *查询该设备的出库、启用、废弃的时间信息
     * @param deviceRecord
     * @return
     */
    List<DeviceRecord> selectByDericeId(DeviceRecord deviceRecord);





    /**
     * 新增设备启停记录
     * @param deviceRecord 启停记录
     *
     * @return
     */
    int addDeviceRecord(DeviceRecord deviceRecord);

}
